home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwat00.dir / 00064_Script_good < prev    next >
Text File  |  1994-11-15  |  6KB  |  162 lines

  1. on startMovie
  2.   global currMM, dialogOn
  3.   global seeAlsoNess
  4.   set seeAlsoNess = FALSE
  5.   set dialogOn = FALSE
  6.   set currMM = "FLWWW"
  7.   puppetSprite 21, TRUE
  8.   puppetSprite 22, TRUE
  9.   puppetSprite 23, TRUE
  10.   set the immediate of sprite 23 to TRUE
  11.   set the stretch of sprite 23 to FALSE
  12. end startMovie
  13.  
  14. on saveLocals
  15.   global lastFrame, nowFrame, lastMovie
  16.   set lastFrame = nowFrame
  17.   set lastMovie = the movie
  18. end saveLocals
  19.  
  20. on buttonState
  21.   global bflag, dialogOn
  22.   
  23.   if dialogOn = FALSE then
  24.     
  25.     glassCheck
  26.     
  27.     -- don't check global buttons unless mouse is down at bottom
  28.     if (the mouseV > 300) or (bFlag = TRUE) then
  29.       doState
  30.     end if
  31.   end if
  32. end buttonState
  33.  
  34. on atForStep
  35.   puppetSprite 13, FALSE
  36.   puppetSprite 14, FALSE
  37.   if the frame > 195 then
  38.     go to frame 170
  39.   else
  40.     go to marker(+1)
  41.   end if
  42.   updateStage
  43. end atForStep
  44.  
  45. on atBackStep
  46.   puppetSprite 13, FALSE
  47.   puppetSprite 14, FALSE
  48.   if the frame = 170 then
  49.     go to frame 196
  50.   else
  51.     go to marker(-1)
  52.   end if
  53.   updateStage
  54. end atBackStep
  55.  
  56. on usaRoll
  57.   global stateOn
  58.   if rollover(2) then
  59.     if the mouseH > 273 and the mouseH < 300 and the mouseV > 213 and the mouseV < 255 then
  60.       set the castNum of sprite 9 to 6
  61.       set the castNum of sprite 8 to 98
  62.     else if the mouseH > 84 and the mouseH < 131 and the mouseV > 188 and the mouseV < 243 then
  63.       set the castNum of sprite 9 to 7
  64.       set the castNum of sprite 8 to 99
  65.     else if the mouseH > 38 and the mouseH < 94 and the mouseV > 131 and the mouseV < 224 then
  66.       set the castNum of sprite 9 to 8
  67.       set the castNum of sprite 8 to 100
  68.     else if the mouseH > 237 and the mouseH < 263 and the mouseV > 113 and the mouseV < 148 then
  69.       set the castNum of sprite 9 to 27
  70.       set the castNum of sprite 8 to 119
  71.     else if the mouseH > 280 and the mouseH < 343 and the mouseV > 243 and the mouseV < 291 then
  72.       set the castNum of sprite 9 to 9
  73.       set the castNum of sprite 8 to 101
  74.     else if the mouseH > 248 and the mouseH < 276 and the mouseV > 150 and the mouseV < 199 then
  75.       set the castNum of sprite 9 to 10
  76.       set the castNum of sprite 8 to 102
  77.     else if the mouseH > 272 and the mouseH < 293 and the mouseV > 154 and the mouseV < 191 then
  78.       set the castNum of sprite 9 to 11
  79.       set the castNum of sprite 8 to 103
  80.     else if the mouseH > 215 and the mouseH < 257 and the mouseV > 142 and the mouseV < 170 then
  81.       set the castNum of sprite 9 to 12
  82.       set the castNum of sprite 8 to 104
  83.     else if the mouseH > 178 and the mouseH < 230 and the mouseV > 172 and the mouseV < 200 then
  84.       set the castNum of sprite 9 to 13
  85.       set the castNum of sprite 8 to 105
  86.     else if the mouseH > 325 and the mouseH < 360 and the mouseV > 161 and the mouseV < 178 then
  87.       set the castNum of sprite 9 to 14
  88.       set the castNum of sprite 8 to 106
  89.     else if (the mouseH > 250 and the mouseH < 305 and the mouseV > 126 and the mouseV < 158)¼
  90.     or (the mouseV > 106 and the mouseV < 158 and the mouseH > 276 and the mouseH < 305) then
  91.       set the castNum of sprite 9 to 15
  92.       set the castNum of sprite 8 to 107
  93.     else if the mouseH > 211 and the mouseH < 247 and the mouseV > 93 and the mouseV < 145 then
  94.       set the castNum of sprite 9 to 16
  95.       set the castNum of sprite 8 to 108
  96.     else if the mouseH > 220 and the mouseH < 267 and the mouseV > 167 and the mouseV < 207 then
  97.       set the castNum of sprite 9 to 17
  98.       set the castNum of sprite 8 to 109
  99.     else if the mouseH > 320 and the mouseH < 363 and the mouseV > 114 and the mouseV < 154 then
  100.       set the castNum of sprite 9 to 18
  101.       set the castNum of sprite 8 to 111
  102.     else if the mouseH > 363 and the mouseH < 374 and the mouseV > 108 and the mouseV < 133 then
  103.       set the castNum of sprite 9 to 19
  104.       set the castNum of sprite 8 to 110
  105.     else if the mouseH > 290 and the mouseH < 319 and the mouseV > 149 and the mouseV < 182 then
  106.       set the castNum of sprite 9 to 20
  107.       set the castNum of sprite 8 to 112
  108.     else if the mouseH > 171 and the mouseH < 230 and the mouseV > 197 and the mouseV < 229 then
  109.       set the castNum of sprite 9 to 21
  110.       set the castNum of sprite 8 to 113
  111.     else if the mouseH > 315 and the mouseH < 356 and the mouseV > 142 and the mouseV < 169 then
  112.       set the castNum of sprite 9 to 22
  113.       set the castNum of sprite 8 to 114
  114.     else if the mouseH > 306 and the mouseH < 341 and the mouseV > 207 and the mouseV < 234 then
  115.       set the castNum of sprite 9 to 23
  116.       set the castNum of sprite 8 to 115
  117.     else if the mouseH > 142 and the mouseH < 238 and the mouseV > 201 and the mouseV < 295 then
  118.       set the castNum of sprite 9 to 24
  119.       set the castNum of sprite 8 to 116
  120.     else if the mouseH > 97 and the mouseH < 136 and the mouseV > 145 and the mouseV < 194 then
  121.       set the castNum of sprite 9 to 25
  122.       set the castNum of sprite 8 to 117
  123.     else if the mouseH > 303 and the mouseH < 355 and the mouseV > 168 and the mouseV < 198 then
  124.       set the castNum of sprite 9 to 26
  125.       set the castNum of sprite 8 to 118
  126.     else
  127.       set the castNum of sprite 9 to 28
  128.       set the castNum of sprite 8 to the number of cast G46
  129.     end if
  130.     updateStage
  131.   end if
  132. end usaRoll
  133.  
  134. on glassCheck
  135.   if the frame < 5 then
  136.     if rollover(2) then
  137.       cursor [123,124]
  138.     else
  139.       cursor -1
  140.     end if
  141.   else
  142.     cursor -1
  143.   end if
  144. end glassCheck
  145.  
  146. on dummyScript
  147.   nothing
  148. end dummyScript
  149.  
  150. on scrollRoll
  151.   if rollover(13) then
  152.     set the forecolor of sprite 13 to 228
  153.   else
  154.     set the forecolor of sprite 13 to 255
  155.   end if
  156.   
  157.   if rollover(14) then
  158.     set the forecolor of sprite 14 to 228
  159.   else
  160.     set the forecolor of sprite 14 to 255
  161.   end if
  162. end scrollRoll